package top.kaoshanji.p3ch23a;

/**
 * 代码清单-p3ch23a-279页a：写信过程的实现
 * @author kaoshanji
 * ^_^
 * create time 2025/3/26 17:53
 */
public class ILetterProcessImpl implements ILetterProcess {

    @Override
    public void writeContext(String context) {
        System.out.println("填写信的内容..." + context);
    }

    @Override
    public void fillEnvelope(String address) {
        System.out.println("填写收件人地址及姓名..." + address);
    }

    @Override
    public void letterInotoEnvelope() {
        System.out.println("把信放到信封中...");
    }

    @Override
    public void sendLetter() {
        System.out.println("邮递信件...");
    }

}
